home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Sample Code / Devices / RAMDisk 1.4d5 / Documentation / Changes in 1.3 < prev    next >
Encoding:
Text File  |  1997-03-07  |  1.1 KB  |  42 lines  |  [TEXT/ttxt]

  1. Changes in 1.3
  2. __________________________________________________
  3.  
  4. Changed values in RamDisk.h to check for old routine names.  This resulted in some minor code changes in RamINIT.c and RamCDev.c
  5.  
  6. #ifdef BEFORE_UNIVERSAL_HEADERS_2_1
  7. /*
  8. **    dCtlFlags bits
  9. */
  10.  
  11. #define        dNeedLock        0x4000
  12. #define        dNeedTime        0x2000
  13. #define        dNeedGoodBye    0x1000
  14. #define        dStatEnable        0x0800
  15. #define        dCtlEnable        0x0400
  16. #define        dWritEnable        0x0200
  17. #define        dReadEnable        0x0100
  18. #define        drvrActive        0x0080
  19. #define        dRAMBased        0x0040
  20. #define        dOpened            0x0020
  21.  
  22.  
  23. /*
  24. **    Low byte of trap word for _Read and _Write
  25. */
  26.  
  27. #define        aRdCmd            2
  28. #define        aWrCmd            3
  29.  
  30. #endif /* BEFORE_UNIVERSAL_HEADERS_2_1 */
  31. __________________________________________________
  32.  
  33. Added DriverGestalt support to RAMdrvr.c.
  34. __________________________________________________
  35.  
  36. Modified Driver.a to use Universal Headers.  This involved:
  37.  
  38. • changing the includes from 'SysEqu.a' to the four include files 'LowMem.a', 'LowMemEqu.a', 'Devices.a', 'Files.a'
  39.  
  40. • specifying the ioTrap and ioResult variables as part of fields, e.g. IOParam.ioTrap and IOParam.ioResult
  41. __________________________________________________
  42.